/*
 * @Description: 文件描述
 * @Author: 陈三愿
 * @Date: 2025-09-15 20:04:27
 * @LastEditTime: 2025-09-15 20:04:33
 */
// tableConfig.js
export const userTableConfig = {
  columns: [
    {
      label: "用户名",
      prop: "username",
    },
    {
      label: "邮箱",
      prop: "email",
    },
    {
      label: "性别",
      prop: "gender",
      formatter: (row) => (row.gender === "M" ? "男" : "女"),
    },
    {
      label: "操作",
      prop: "actions",
      slot: "actions", // 使用插槽
    },
  ],
};
